package com.pureut.scheduling.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Description 计划and订单返回类
 * @Param
 * @Date 23-01-04
 * @Author hl
 **/
@Data
public class SchedulingOrderDto {

    /** id */
    private long planId;

    /** 计划单号 */
    private String planCode;

    /** 状态 */
    private String planState;

    private String planStateDict;

    /** 关联id */
    private long planAssociatedId;


    /** 产品id */
    private long planMaterialId;

    /** 产品编码 */
    private String planMaterialCode;

    /** 产品名称 */
    private String planMaterialName;

    /** 产品规格 */
    private String planMaterialSpec;

    /** 客户编码 */
    private String planCustomerCode;

    /** 客户名称 */
    private String planCustomerName;

    /** 订单重量 */
    private double planContractWeight;

    /** 退回原因 */
    private String planWhy;

    /** 计划备注 */
    private String planNote;

    private String materialNetTypeDict;

    private String materialNetDict;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planDeliveryTime;

    private String planTheContract;

    private String planAssociatedCode;

    private int planType;

    /** 克重 */
    private double materialGheavy;

    private String materialRatio;//配比

    /**
     *辐宽
     */
    private String widthCloth;

    /**
     * 厚度
     */
    private String thickness;

    /**
     * 卷径
     */
    private String rollDiameter;

    /**
     * 包装要求
     */
    private int packing;

    /**
     * 包装要求
     */
    private String packingDict;

    /**
     * 纸管卷数
     */
    private int numberRolls;


    /**
     * 合同路径
     */
    private String contractUrl;


    /**
     * 销售订单备注
     */
    private String remark;

    private String planEnd;


    private double productionWeight;

    private String createBy;

    private String operatorBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operatorTime;

    private int materialNet;

    private int materialNetType;

    private String planPath;

    private double subcontractWeight;


}
